import { ISearchItemType } from '/@/components/search/type/index';

const object: ISearchItemType = {
	// query,add,reset,delete 展示按钮对应字符串
	showButtonType: [],
	size: 'small',
	//初始化搜索框数据-对应propList中元素prop属性
	searchObj: {
		Number: '',
		ApplicantName: '',
		ApplyTime: '',
		State: '',
	},

	//搜索框样式, type: 'input'输入框/type:'select'选择框两种
	propList: [
		{
			prop: window.$t('vkEGes_8Efv8lAffT9L'),
			type: 'input',
			label: window.$t('bJkvx7LlooWo1tiYJnq7L'),
			//输入框样式
			inputStye: {
				placeholder: window.$t('djUPkYqwtS0FrcCIbRzBg'),
			},
		},
		{
			prop: 'ApplicantName',
			type: 'input',
			label: window.$t('aQc_8Qf8ruR55Ma7dHqVx'),
			//输入框样式
			inputStye: {
				placeholder: window.$t('t_8j9mLnoRa2WfpCnPeMv'),
			},
		},
		{
			prop: 'ApplyTime',
			type: 'date',
			label: window.$t('zoetPSl5T3Qkp3kVLnAji'),
			placeholder: window.$t('k9TsKtOqzvqmr1asduXue'),
		},
		{
			prop: window.$t('tcnF4QsJBv1OQo5cMNlN9'),
			type: 'select',
			label: window.$t('lMp_4cqsVnkpiljFyyKL'),
			placeholder: window.$t('tZdjK23IfmQZocPheXiM'),
			//el-option样式
			selectOptions: [
				{
					label: window.$t('5nLtiVxXq9lleZv6z5Z4'),
					value: '',
				},
				{
					label: window.$t('cY230XsKCgX1LyyoJa8Zx'),
					value: 1,
				},
				{
					label: window.$t('g0BNijO5u8gbfeVpcNtE'),
					value: 2,
				},
				{
					label: window.$t('mHacJlZ7TwtywAtB51eHe'),
					value: 3,
				},
				{
					label: window.$t('ah3OMmLyaTnlW6GQuYbXj'),
					value: 4,
				},
				{
					label: window.$t('uFcc2AcUeIiR7bpvOI'),
					value: 5,
				},
			],
		},
	],
};

export default object;
